<!DOCTYPE html>
<html>
<head>
    <meta charset='UTF-8'>
    <title>Document</title>
</head>
<body>
<div id="app">
    <input type="checkbox" v-model='checked'>
    {{ checked }}
    {{ checked?'哥哥我是你的舔狗':'你是个好人但是我们不合适' }}
</div>
</body>
<script src="../vue.js"></script>
<script>
new Vue({
    el:"#app",
    data:{
        checked:false
    }
})
</script>
</html>